#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QWidget>


namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

    std::string getGraphFileName()
    {
        return qstrGraphName.toStdString();
    }

    std::string getRouteFileName()
    {
        return qstrRouteName.toStdString();
    }

private slots:
    void onBnGraphClicked();
    void onBnRouteClicked();
    void onBnNextStepClicked();
    void onBnRunAllClicked();

    void runNext();
    void runAll();

private:
    bool bFirstRun;
    Ui::MainWindow *ui;
    QString qstrGraphName;
    QString qstrRouteName;
};

#endif // MAINWINDOW_H
